package vsm.vsm_server.service;

import java.math.BigInteger;
import java.util.List;

public interface RelationService {

    /*
    查询是否关注
     */
    Integer isFollow(BigInteger userid, BigInteger followid);

    /*
    关注用户
     */
    Boolean follow(BigInteger userid, BigInteger followid,Integer relation);
    /*
        取消关注用户
     */
    Boolean delete(BigInteger userid, BigInteger followid);
    /*
    修改关注用户关系
   */
    Boolean update(BigInteger userid, BigInteger followid,Integer relation);

    List<BigInteger> getSubs(BigInteger userid);

    List<BigInteger> getFans(BigInteger followid);


}
